package com.jhhc.Http.Service;

import com.jhhc.RHDB.Data.Dao.ST_PPTN_R5Mapper;
import com.jhhc.RHDB.Data.Dao.ST_RIVER_R5Mapper;
import com.jhhc.RHDB.Data.Dao.ST_RSVR_R5Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeleteHxDataService {

    @Autowired
    private ST_RSVR_R5Mapper st_rsvr_r5Mapper;
    @Autowired
    private ST_PPTN_R5Mapper st_pptn_r5Mapper;
    @Autowired
    private ST_RIVER_R5Mapper st_river_r5Mapper;

    //雨量
    public  int DeleteHxPPTNData(List<String> stcd,String startTime, String endTime){
       return   st_pptn_r5Mapper.deleteHxPPTNData(stcd,startTime,endTime);

    }

    //水库
    public  int DeleteHxRSVRData(List<String> stcd,String startTime, String endTime){
        return   st_rsvr_r5Mapper.deleteHxRSVRData(stcd,startTime,endTime);

    }

}
